import {createRouter,createWebHistory} from 'vue-router'
import HomePage from './views/HomePage.vue'
import LoveFlower from './views/LoveFlower.vue'
import BirthdayFlower from './views/BirthdayFlower.vue'
import FirendFlower from './views/FirendFlower.vue'
import FlowerDetail from './views/FlowerDetail.vue'
import FlowerPay from './views/FlowerPay.vue'
import PersonCenter from './views/PersonCenter.vue'
import WeddingFlower from './views/WeddingFlower.vue'

const router = createRouter({
    history:createWebHistory(),
    routes:[
        {path:'/',component:HomePage},
        {path:'/loveflower',component:LoveFlower},
        {path:'/birthdayflower',component:BirthdayFlower},
        {path:'/firendflower',component:FirendFlower},
        {path:'/detail',component:FlowerDetail},
        {path:'/flowerpay',component:FlowerPay},
        {path:'/personcenter',component:PersonCenter},
        {path:'/weddingflower',component:WeddingFlower},
        {path:'/pay',component:FlowerPay},
    ],
})
export default router